package com.dutao.designpattern.a_factory.staticfactory;

/**
 * 静态工厂-工厂创建方法为静态的
 * Created by dutao on 2018/5/4.
 */
public class FactoryTest {

  public static void main(String[] args) {
    Sender sender = SendFactory.produceMail();
    sender.Send();
  }
}
